﻿using Furion.DatabaseAccessor;
using ST.Torch.WebApi.Core.Entities.System;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ST.Torch.WebApi.Core.Entities.SeedData
{



    public class SYSRoleSeedData : IEntitySeedData<SYSRole>
    {
        public IEnumerable<SYSRole> HasData(DbContext dbContext, Type dbContextLocator)
        {
            List<SYSRole> SYSRoles = new List<SYSRole>();
            var Rols = new SYSRole
            {
                Name = "管理员",
                RoleCode = "Administrator",
            };
            SYSRoles.Add(Rols);

            return SYSRoles;
        }

    }


}
